package com.njtoyo.taxi.admin.service.business.operation_rule;


import com.njtoyo.taxi.admin.mapper.master.entity.DriverMarketing;
import com.njtoyo.taxi.admin.mapper.master.mapper.DriverMarketingMapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.driver_marketing.DriverMarketingAddOrUpdateWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule.driver_marketing.DriverMarketingQueryWrapper;
import com.taxi.entity.common.RestResult;

public interface DriverMarketingService {
    RestResult list(DriverMarketingQueryWrapper wrapper);

    RestResult add(DriverMarketingAddOrUpdateWrapper wrapper);

    RestResult deleteById(Long id);

    RestResult getInfoById(Long id);

    RestResult update(DriverMarketingAddOrUpdateWrapper wrapper);

    RestResult updateActive(DriverMarketing driverMarketing);
}
